package com.micro.edu.rpc;

import com.micro.edu.service.UserService;
import org.apache.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @author Tyd
 * @date 2021/03/11 17:01
 */
@Service
public class MicroUserRpc implements IMicroUserRpc{

    @Autowired
    private UserService userService;

    @Override
    public String info(String token) {
       return userService.info(token);
    }
}
